package com.pushbox.vo;

/**
 * 单个对象的返回结果
 * 
 * @author Hatcher
 *
 * @param <T>
 */
public class SingleResult<T> extends BaseResult {

	/** serialVersionUID */
	private static final long serialVersionUID = 807003977989498433L;

	/** 结果对象 */
	private T data;

	/**
	 * 默认构造函数
	 */
	public SingleResult() {
	}

	/**
	 * Getter method for property <tt>data</tt>.
	 * 
	 * @return property value of data
	 */
	public T getData() {
		return data;
	}

	/**
	 * Setter method for property <tt>data</tt>.
	 * 
	 * @param data
	 *            value to be assigned to property data
	 */
	public void setData(T data) {
		this.data = data;
	}

}
